package com.dt76.smallloanbackenduser.hystrix.xm;

import com.dt76.smallloanbackenduser.pojo.xm.BeforeOrder;
import com.dt76.smallloanbackenduser.pojo.xm.BeforeOrderQuery;
import com.dt76.smallloanbackenduser.remote.xm.BeforeOrderRemote;
import com.dt76.smallloanbackenduser.utils.Page;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;
import java.util.List;

@Component
public class BeforeOrderHystrix implements BeforeOrderRemote {


    @Override
    public List<BeforeOrder> qryAll() {
        return new ArrayList<>();
    }

    @Override
    public Page qryPageConditionAll(@RequestParam("currentPageNo")Integer currentPageNo, @RequestBody BeforeOrderQuery beforeOrderQuery) {
        return null;
    }

    @Override
    public Page qryPageConditionAll2(@RequestParam("currentPageNo")Integer currentPageNo, BeforeOrderQuery beforeOrderQuery) {
        return null;
    }

    @Override
    public BeforeOrder qryByID(@RequestParam("id")int id) {
        return null;
    }

    @Override
    public int modifyBeforeOrderType(@RequestBody BeforeOrder beforeOrder) {
        return 0;
    }
}
